package com.kds.changzhou.message.outboud;

import com.kds.changzhou.utility.TemplateService;
import freemarker.template.TemplateException;

import java.io.IOException;

/**
 * @author 孔德嵩
 */
public class RequestMessage extends AbstractOutBoundMessage {


    public RequestMessage(TemplateService templateService) {
        super(templateService);
    }

    @Override
    public void loadData() throws TemplateException, IOException {

        this.message = templateService.buildRequest(data);
    }
}
